package com.jackchen.vo;

import com.jackchen.common.transform.BindConvert;
import com.jackchen.common.transform.FieldConvert;
import com.jackchen.po.Resource;


@BindConvert(targetClass = Resource.class)
public class DiaryVO {

	@FieldConvert(targetFiledName = { "id" })
	private Integer id;
	@FieldConvert(targetFiledName = { "name" })
	private String name;
	@FieldConvert(targetFiledName = {"author"})
	private String author;
	@FieldConvert(targetFiledName = {"user","username"})
	private String username;
	@FieldConvert(targetFiledName = {"uploadtime"})
	private String uploadtime;
	@FieldConvert(targetFiledName = {"modifytime"})
	private String modifytime;
	@FieldConvert(targetFiledName = {"content","content"})
	private String content;
	@FieldConvert(targetFiledName = {"resourcetype","name"})
	private String resourcetype;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUploadtime() {
		return uploadtime;
	}
	public void setUploadtime(String uploadtime) {
		this.uploadtime = uploadtime;
	}
	public String getModifytime() {
		return modifytime;
	}
	public void setModifytime(String modifytime) {
		this.modifytime = modifytime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getResourcetype() {
		return resourcetype;
	}
	public void setResourcetype(String resourcetype) {
		this.resourcetype = resourcetype;
	}
	

}
